package com.uinnova.springboot.demo.exception;

import com.uinnova.springboot.demo.kit.Retkit;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 张攀钦
 * @date 2018-12-22-11:14
 */
@RestController
public class ExceptionController {

    @GetMapping(value = "/jail/exception/test")
    public Retkit exceptionTest() {
        int i = 1 / 0;
        return Retkit.ok();
    }
}
